using System;

namespace Camalon.ColorPicker
{
	/// <summary>
	/// Summary description for CMYK.
	/// </summary>
	internal struct CMYK
	{
		private int _c;
		private int _m;
		private int _y;
		private int _k;

		public CMYK(int cyan,int magenda, int yellow, int key )
		{
			_c = cyan;
			_m = magenda;
			_y = yellow;
			_k = key;	
		}

		public int Cyan
		{
			get { return _c;}
			set { _c = value;}

		}
		public int Magenda
		{
			get { return _m;}
			set { _m = value;}
		}
		public int Yellow
		{
			get { return _y;}
			set { _y = value;}
		}
		public int Key
		{
			get { return _k;}
			set { _k = value;}
		}

		public bool IsEqual(CMYK cmyk)
		{
			return 
				this._c == cmyk._c &&
				this._m == cmyk._m &&
				this._y == cmyk._y &&
				this._k == cmyk._k;
		}
	}
}
